package com.hospital;

import com.hospital.util.ReflexUtil;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * springboot启动入口
 */
@SpringBootApplication
@MapperScan("com.hospital.dao")
public class Application {
    //springboot启动入口
    public static void main(String[] args) {
        //忽略反射警告
        ReflexUtil.disableAccessWarnings();
        //运行springboot
        SpringApplication.run(Application.class, args);
    }
}
